active

val active: StateFlow<Boolean>

isActive, as a flow that changes when the window opens and when it closes.